#!/bin/bash

# Recreate 
rm -f user.passwd
touch user.passwd

# SVNUsers
userPasswdArray=( 
    "jinhaijiang 	jhj117" 
    "hanning 		hn111" 
    "yaohuimin 		yhm120" 
    "songchaopeng 	scp888" 
)

for userPasswd in "${userPasswdArray[@]}"
do 
    # Add to passwd
    sudo /opt/lampp/bin/htpasswd -b user.passwd $userPasswd
done
